<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/meshes/cell_linked_list.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_61d72b4dd46479d55af927dc89c7a78c.html">meshes</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">cell_linked_list.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="cell__linked__list_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -------------------------------------------------------------------------*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *                              SPHinXsys                                   *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * --------------------------------------------------------------------------*</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * SPHinXsys (pronunciation: s&#39;finksis) is an acronym from Smoothed Particle    *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Hydrodynamics for industrial compleX systems. It provides C++ APIs for   *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * physical accurate simulation and aims to model coupled industrial dynamic *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * systems including fluid, solid, multi-body dynamics and beyond with SPH  *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * (smoothed particle hydrodynamics), a meshless computational method using *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * particle discretization.                                                 *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *                                                                          *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * SPHinXsys is partially funded by German Research Foundation              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1                *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * and HU1527/12-1.                                                         *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * Portions copyright (c) 2017-2020 Technical University of Munich and      *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * the authors&#39; affiliations.                                               *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may   *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * not use this file except in compliance with the License. You may obtain a *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * copy of the License at http://www.apache.org/licenses/LICENSE-2.0.        *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * --------------------------------------------------------------------------*/</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#ifndef MESH_CELL_LINKED_LIST_H</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#define MESH_CELL_LINKED_LIST_H</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="base__mesh_8h.html">base_mesh.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="neighbor__relation_8h.html">neighbor_relation.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_p_h.html">SPH</a></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">class </span>SPHSystem;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">class </span>SPHBody;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">class </span>BaseParticles;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">class </span>Kernel;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">class </span>SPHAdaptation;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_list.html">   51</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_cell_list.html">CellList</a></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    {</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_list.html#a8ea5d710631cb6bb539065732a51e7e0">   55</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#a1d45b2f40a5958c27e08837b107dc995">ConcurrentIndexVector</a> <a class="code" href="class_s_p_h_1_1_cell_list.html#a8ea5d710631cb6bb539065732a51e7e0">concurrent_particle_indexes_</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_list.html#a38a611e5b4659ca49bd4842db65e3316">   57</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#ace86b54c9f5761532f28d4ffc0dad8ff">ListDataVector</a> <a class="code" href="class_s_p_h_1_1_cell_list.html#a38a611e5b4659ca49bd4842db65e3316">cell_list_data_</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_list.html#a399df456f271a30ca523db0a4f46e520">   59</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">IndexVector</a> <a class="code" href="class_s_p_h_1_1_cell_list.html#a399df456f271a30ca523db0a4f46e520">real_particle_indexes_</a>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <a class="code" href="class_s_p_h_1_1_cell_list.html">CellList</a>();</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        ~<a class="code" href="class_s_p_h_1_1_cell_list.html">CellList</a>(){};</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    };</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_base_cell_linked_list.html">   69</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html">BaseCellLinkedList</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_base_mesh_field.html">BaseMeshField</a></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body_;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <a class="code" href="class_s_p_h_1_1_kernel.html">Kernel</a> &amp;kernel_;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles_;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a2c13f5e07cc40152cbb28047b9788b70">clearSplitCellLists</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a4cdecca3c86f69df68ca92361edeff6c">updateSplitCellLists</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists) = 0;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a9da23a71acfaf59ce6e61f31a4c02366">BaseCellLinkedList</a>(<a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, <a class="code" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;sph_adaptation);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html">BaseCellLinkedList</a>(){};</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a758c1a698cc4524f688f7f7955bba788">assignBaseParticles</a>(<a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles) = 0;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#addf2214bbf070285b11d7bfad9ebef87">UpdateCellLists</a>() = 0;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a547b83fbf84a9b7fc6e9bff4f1304380">insertACellLinkedParticleIndex</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> Vecd &amp;particle_position) = 0;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#adc5ff13805c16036aad040dcaea038f3">InsertACellLinkedListDataEntry</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> Vecd &amp;particle_position) = 0;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a369d4d675c7aee6566b958bb514870e3">findNearestListDataEntry</a>(<span class="keyword">const</span> Vecd &amp;position) = 0;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a9e7a648f9a67f9acf8cb40b0740c7e2d">computingSequence</a>(StdLargeVec&lt;size_t&gt; &amp;sequence) = 0;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#adf5a9595dd7b7102516332e864d786d5">tagBodyPartByCell</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, std::function&lt;<span class="keywordtype">bool</span>(Vecd, Real)&gt; &amp;check_included) = 0;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#ad163907a5265dcaf3d860f7678881e8f">tagBodyDomainBoundingCells</a>(StdVec&lt;CellLists&gt; &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis) = 0;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html#a503acea44a27efc8c8972ec73d045c9e">tagMirrorBoundingCells</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis, <span class="keywordtype">bool</span> positive) = 0;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    };</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_linked_list.html">  113</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_cell_linked_list.html">CellLinkedList</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_base_cell_linked_list.html">BaseCellLinkedList</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_mesh.html">Mesh</a></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    {</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_cell_linked_list.html#a5d02f0a9b0c0d8f21828c78f9e145d0a">  118</a></span>&#160;        MeshDataMatrix&lt;CellList&gt; <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a5d02f0a9b0c0d8f21828c78f9e145d0a">cell_linked_lists_</a>;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#ad3b01a7d1a7fb851b5da1ac26b22d569">updateSplitCellLists</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists) <span class="keyword">override</span>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <a class="code" href="class_s_p_h_1_1_cell_linked_list.html">CellLinkedList</a>(<a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> tentative_bounds, Real grid_spacing,</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                       <a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, <a class="code" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;sph_adaptation);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_cell_linked_list.html">CellLinkedList</a>() { <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a4579542c6421d43c5f2e650b8ecb380b">deleteMeshDataMatrix</a>(); };</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a1a025d4b1623453606d41532df0e4846">allocateMeshDataMatrix</a>(); </div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a4579542c6421d43c5f2e650b8ecb380b">deleteMeshDataMatrix</a>();   </div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a92c10242be3bedec2d874b8e2a5b0bd2">assignBaseParticles</a>(<a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles) <span class="keyword">override</span>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordtype">void</span> clearCellLists();</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keywordtype">void</span> UpdateCellListData();</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#ab6740947d92229ea5aedd21fd75da66d">UpdateCellLists</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a40ab1cee7a4558613874398bf4b30874">insertACellLinkedParticleIndex</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> Vecd &amp;particle_position) <span class="keyword">override</span>;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a13ebb698e1529073b2fd591670774328">InsertACellLinkedListDataEntry</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> Vecd &amp;particle_position) <span class="keyword">override</span>;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a02b6e2d128edb610d89fd7bdaf0007b2">findNearestListDataEntry</a>(<span class="keyword">const</span> Vecd &amp;position) <span class="keyword">override</span>;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a198612ce4ef235ca6100b2d1e0acf2ce">computingSequence</a>(StdLargeVec&lt;size_t&gt; &amp;sequence) <span class="keyword">override</span>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#ac9c9b9e0f8992431937a42809575fa3a">tagBodyPartByCell</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, std::function&lt;<span class="keywordtype">bool</span>(Vecd, Real)&gt; &amp;check_included) <span class="keyword">override</span>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a89a8985ffbe07b8d76377125730217b3">tagBodyDomainBoundingCells</a>(StdVec&lt;CellLists&gt; &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis) <span class="keyword">override</span>;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#ae124635582fefeafc5406e576309c739">tagMirrorBoundingCells</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis, <span class="keywordtype">bool</span> positive) <span class="keyword">override</span>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#ad22f4ad6f37109b0f73203055fbc5f33">writeMeshFieldToPlt</a>(std::ofstream &amp;output_file) <span class="keyword">override</span>;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keyword">template</span> &lt;<span class="keyword">typename</span> GetParticleIndex, <span class="keyword">typename</span> GetSearchDepth, <span class="keyword">typename</span> GetNeighborRelation&gt;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a7e64816386ad8a4c72cf3cd3b8a9abec">searchNeighborsByParticles</a>(<span class="keywordtype">size_t</span> total_real_particles, <a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> &amp;source_particles,</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                                        <a class="code" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a> &amp;particle_configuration, GetParticleIndex &amp;get_particle_index,</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                                        GetSearchDepth &amp;get_search_depth, GetNeighborRelation &amp;get_neighbor_relation);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="keyword">template</span> &lt;<span class="keyword">typename</span> GetParticleIndex, <span class="keyword">typename</span> GetSearchDepth, <span class="keyword">typename</span> GetNeighborRelation, <span class="keyword">typename</span> PartParticleCheck&gt;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#af567e400ee24f4adbd27da25a8127304">searchNeighborPartsByParticles</a>(<span class="keywordtype">size_t</span> total_real_particles, <a class="code" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> &amp;source_particles,</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;                                            <a class="code" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a> &amp;particle_configuration, GetParticleIndex &amp;get_particle_index,</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                                            GetSearchDepth &amp;get_search_depth, GetNeighborRelation &amp;get_neighbor_relation,</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                                            PartParticleCheck &amp;part_check);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        MeshDataMatrix&lt;CellList&gt; getCellLists()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_s_p_h_1_1_cell_linked_list.html#a5d02f0a9b0c0d8f21828c78f9e145d0a">cell_linked_lists_</a>; }</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    };</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html">  164</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html">MultilevelCellLinkedList</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_multilevel_mesh.html">MultilevelMesh</a>&lt;BaseCellLinkedList, CellLinkedList, RefinedMesh&lt;CellLinkedList&gt;&gt;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    {</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <a class="code" href="class_std_large_vec_3_01_real_01_4.html">StdLargeVec&lt;Real&gt;</a> &amp;h_ratio_;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#afad897722a2a02025f34d20039df49c8">  168</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#afad897722a2a02025f34d20039df49c8">updateSplitCellLists</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> &amp;split_cell_lists)<span class="keyword"> override</span>{};</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keyword">inline</span> <span class="keywordtype">size_t</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#affde5ddcde2392d482adcec4a1083d61">getMeshLevel</a>(Real particle_cutoff_radius);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html">MultilevelCellLinkedList</a>(<a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> tentative_bounds, Real reference_grid_spacing,</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                                 <span class="keywordtype">size_t</span> total_levels, <a class="code" href="class_s_p_h_1_1_real_body.html">RealBody</a> &amp;real_body, <a class="code" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;sph_adaptation);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html">MultilevelCellLinkedList</a>(){};</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a4ae12fdc4b1eb3c0463beb5cf7ea0e66">assignBaseParticles</a>(BaseParticles *base_particles) <span class="keyword">override</span>;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#af305ed326d9e68b19e9f38adedad7094">UpdateCellLists</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a6e4e793993b786c6690aca92fc7e4a0e">insertACellLinkedParticleIndex</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> <a class="code" href="class_vecd.html">Vecd</a> &amp;particle_position) <span class="keyword">override</span>;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a7c42576ff9d88bfdae5e8f86bfac8842">InsertACellLinkedListDataEntry</a>(<span class="keywordtype">size_t</span> particle_index, <span class="keyword">const</span> <a class="code" href="class_vecd.html">Vecd</a> &amp;particle_position) <span class="keyword">override</span>;</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ae5cc394bb57f8571e4e32e2672c52f37">  181</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ae5cc394bb57f8571e4e32e2672c52f37">findNearestListDataEntry</a>(<span class="keyword">const</span> Vecd &amp;position)<span class="keyword"> override </span>{ <span class="keywordflow">return</span> <a class="code" href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">ListData</a>(0, Vecd(0)); };</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ad76b70bbfd148cc07d0ad1e7aba7a0be">  182</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ad76b70bbfd148cc07d0ad1e7aba7a0be">computingSequence</a>(StdLargeVec&lt;size_t&gt; &amp;sequence)<span class="keyword"> override</span>{};</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a5580fd69520b2f300596a5759c60144b">tagBodyPartByCell</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, std::function&lt;<span class="keywordtype">bool</span>(Vecd, Real)&gt; &amp;check_included) <span class="keyword">override</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa48a033c00522643ad6cc3ec9f4ff0b8">  184</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa48a033c00522643ad6cc3ec9f4ff0b8">tagBodyDomainBoundingCells</a>(StdVec&lt;CellLists&gt; &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis)<span class="keyword"> override</span>{};</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa474d6175c64fc7e514b6e62975e959e">  185</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa474d6175c64fc7e514b6e62975e959e">tagMirrorBoundingCells</a>(<a class="code" href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">CellLists</a> &amp;cell_lists, <a class="code" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> &amp;body_domain_bounds, <span class="keywordtype">int</span> axis, <span class="keywordtype">bool</span> positive)<span class="keyword"> override</span>{};</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    };</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;}</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#endif // MESH_CELL_LINKED_LIST_H</span></div><div class="ttc" id="namespace_s_p_h_html_ac592bbe202be73decfcbfe8201484ffa"><div class="ttname"><a href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SPH::SplitCellLists</a></div><div class="ttdeci">StdVec&lt; ConcurrentCellLists &gt; SplitCellLists</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:54</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_adaptation_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_adaptation.html">SPH::SPHAdaptation</a></div><div class="ttdoc">Base class for all adaptations. The base class defines essential global parameters. It is also used for single-resolution method. In the constructor parameter, system_refinement_ratio defines the relation between present resolution to the system reference resolution. The derived classes are defined for more complex adaptations. </div><div class="ttdef"><b>Definition:</b> adaptation.h:55</div></div>
<div class="ttc" id="class_std_large_vec_3_01_real_01_4_html"><div class="ttname"><a href="class_std_large_vec_3_01_real_01_4.html">StdLargeVec&lt; Real &gt;</a></div></div>
<div class="ttc" id="base__mesh_8h_html"><div class="ttname"><a href="base__mesh_8h.html">base_mesh.h</a></div><div class="ttdoc">This is the base classes of mesh, which is used to describe ordered and indexed data sets...</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_particles_html"><div class="ttname"><a href="class_s_p_h_1_1_base_particles.html">SPH::BaseParticles</a></div><div class="ttdoc">Particles with essential (geometric and kinematic) data. There are three types of particles， all par...</div><div class="ttdef"><b>Definition:</b> base_particles.h:81</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a2c13f5e07cc40152cbb28047b9788b70"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a2c13f5e07cc40152cbb28047b9788b70">SPH::BaseCellLinkedList::clearSplitCellLists</a></div><div class="ttdeci">virtual void clearSplitCellLists(SplitCellLists &amp;split_cell_lists)</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:22</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a503acea44a27efc8c8972ec73d045c9e"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a503acea44a27efc8c8972ec73d045c9e">SPH::BaseCellLinkedList::tagMirrorBoundingCells</a></div><div class="ttdeci">virtual void tagMirrorBoundingCells(CellLists &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis, bool positive)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html">SPH::CellLinkedList</a></div><div class="ttdoc">Defining a mesh cell linked list for a body. The meshes for all bodies share the same global coordina...</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:113</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_aa474d6175c64fc7e514b6e62975e959e"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa474d6175c64fc7e514b6e62975e959e">SPH::MultilevelCellLinkedList::tagMirrorBoundingCells</a></div><div class="ttdeci">virtual void tagMirrorBoundingCells(CellLists &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis, bool positive) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:185</div></div>
<div class="ttc" id="namespace_s_p_h_html_abae56fd7f25f13487c7943ce4681d0ce"><div class="ttname"><a href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">SPH::IndexVector</a></div><div class="ttdeci">StdVec&lt; size_t &gt; IndexVector</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:37</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a89a8985ffbe07b8d76377125730217b3"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a89a8985ffbe07b8d76377125730217b3">SPH::CellLinkedList::tagBodyDomainBoundingCells</a></div><div class="ttdeci">virtual void tagBodyDomainBoundingCells(StdVec&lt; CellLists &gt; &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:154</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_ac9c9b9e0f8992431937a42809575fa3a"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#ac9c9b9e0f8992431937a42809575fa3a">SPH::CellLinkedList::tagBodyPartByCell</a></div><div class="ttdeci">virtual void tagBodyPartByCell(CellLists &amp;cell_lists, std::function&lt; bool(Vecd, Real)&gt; &amp;check_included) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:134</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_list_html_a8ea5d710631cb6bb539065732a51e7e0"><div class="ttname"><a href="class_s_p_h_1_1_cell_list.html#a8ea5d710631cb6bb539065732a51e7e0">SPH::CellList::concurrent_particle_indexes_</a></div><div class="ttdeci">ConcurrentIndexVector concurrent_particle_indexes_</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:55</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_ab6740947d92229ea5aedd21fd75da66d"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#ab6740947d92229ea5aedd21fd75da66d">SPH::CellLinkedList::UpdateCellLists</a></div><div class="ttdeci">virtual void UpdateCellLists() override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:35</div></div>
<div class="ttc" id="namespace_s_p_h_html_ac0f8e60f152f068d641d2f988b8c2f41"><div class="ttname"><a href="namespace_s_p_h.html#ac0f8e60f152f068d641d2f988b8c2f41">SPH::CellLists</a></div><div class="ttdeci">StdLargeVec&lt; CellList * &gt; CellLists</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:46</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a758c1a698cc4524f688f7f7955bba788"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a758c1a698cc4524f688f7f7955bba788">SPH::BaseCellLinkedList::assignBaseParticles</a></div><div class="ttdeci">virtual void assignBaseParticles(BaseParticles *base_particles)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_mesh_html"><div class="ttname"><a href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></div><div class="ttdoc">Abstract base class for cell-based mesh by introducing number of cells, buffer width and mesh-based d...</div><div class="ttdef"><b>Definition:</b> base_mesh.h:106</div></div>
<div class="ttc" id="neighbor__relation_8h_html"><div class="ttname"><a href="neighbor__relation_8h.html">neighbor_relation.h</a></div><div class="ttdoc">There are the classes for neighboring particles. It saves the information for carring out pair intera...</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a198612ce4ef235ca6100b2d1e0acf2ce"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a198612ce4ef235ca6100b2d1e0acf2ce">SPH::CellLinkedList::computingSequence</a></div><div class="ttdeci">virtual void computingSequence(StdLargeVec&lt; size_t &gt; &amp;sequence) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:64</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_list_html"><div class="ttname"><a href="class_s_p_h_1_1_cell_list.html">SPH::CellList</a></div><div class="ttdoc">The linked list for one cell. </div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:51</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_ae5cc394bb57f8571e4e32e2672c52f37"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ae5cc394bb57f8571e4e32e2672c52f37">SPH::MultilevelCellLinkedList::findNearestListDataEntry</a></div><div class="ttdeci">virtual ListData findNearestListDataEntry(const Vecd &amp;position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:181</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_addf2214bbf070285b11d7bfad9ebef87"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#addf2214bbf070285b11d7bfad9ebef87">SPH::BaseCellLinkedList::UpdateCellLists</a></div><div class="ttdeci">virtual void UpdateCellLists()=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_ae124635582fefeafc5406e576309c739"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#ae124635582fefeafc5406e576309c739">SPH::CellLinkedList::tagMirrorBoundingCells</a></div><div class="ttdeci">virtual void tagMirrorBoundingCells(CellLists &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis, bool positive) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:186</div></div>
<div class="ttc" id="namespace_s_p_h_html_a1d45b2f40a5958c27e08837b107dc995"><div class="ttname"><a href="namespace_s_p_h.html#a1d45b2f40a5958c27e08837b107dc995">SPH::ConcurrentIndexVector</a></div><div class="ttdeci">LargeVec&lt; size_t &gt; ConcurrentIndexVector</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:39</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a547b83fbf84a9b7fc6e9bff4f1304380"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a547b83fbf84a9b7fc6e9bff4f1304380">SPH::BaseCellLinkedList::insertACellLinkedParticleIndex</a></div><div class="ttdeci">virtual void insertACellLinkedParticleIndex(size_t particle_index, const Vecd &amp;particle_position)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_afad897722a2a02025f34d20039df49c8"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#afad897722a2a02025f34d20039df49c8">SPH::MultilevelCellLinkedList::updateSplitCellLists</a></div><div class="ttdeci">virtual void updateSplitCellLists(SplitCellLists &amp;split_cell_lists) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:168</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a5d02f0a9b0c0d8f21828c78f9e145d0a"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a5d02f0a9b0c0d8f21828c78f9e145d0a">SPH::CellLinkedList::cell_linked_lists_</a></div><div class="ttdeci">MeshDataMatrix&lt; CellList &gt; cell_linked_lists_</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:118</div></div>
<div class="ttc" id="namespace_s_p_h_html_ace86b54c9f5761532f28d4ffc0dad8ff"><div class="ttname"><a href="namespace_s_p_h.html#ace86b54c9f5761532f28d4ffc0dad8ff">SPH::ListDataVector</a></div><div class="ttdeci">StdLargeVec&lt; ListData &gt; ListDataVector</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:44</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html">SPH::BaseCellLinkedList</a></div><div class="ttdoc">Abstract class for mesh cell linked list. </div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:69</div></div>
<div class="ttc" id="class_s_p_h_1_1_kernel_html"><div class="ttname"><a href="class_s_p_h_1_1_kernel.html">SPH::Kernel</a></div><div class="ttdoc">Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function...</div><div class="ttdef"><b>Definition:</b> base_kernel.h:63</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_ad163907a5265dcaf3d860f7678881e8f"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#ad163907a5265dcaf3d860f7678881e8f">SPH::BaseCellLinkedList::tagBodyDomainBoundingCells</a></div><div class="ttdeci">virtual void tagBodyDomainBoundingCells(StdVec&lt; CellLists &gt; &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_mesh_field_html"><div class="ttname"><a href="class_s_p_h_1_1_base_mesh_field.html">SPH::BaseMeshField</a></div><div class="ttdoc">Abstract base class for the field data saved on a mesh. </div><div class="ttdef"><b>Definition:</b> base_mesh.h:128</div></div>
<div class="ttc" id="namespace_s_p_h_html_a720b2214c518c3299a6d4895dacddc50"><div class="ttname"><a href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">SPH::ParticleConfiguration</a></div><div class="ttdeci">StdLargeVec&lt; Neighborhood &gt; ParticleConfiguration</div><div class="ttdef"><b>Definition:</b> neighbor_relation.h:66</div></div>
<div class="ttc" id="namespace_s_p_h_html_a7fbc15167459a37683f40cb4a5aa0f06"><div class="ttname"><a href="namespace_s_p_h.html#a7fbc15167459a37683f40cb4a5aa0f06">SPH::ListData</a></div><div class="ttdeci">std::pair&lt; size_t, Vecd &gt; ListData</div><div class="ttdef"><b>Definition:</b> sph_data_containers.h:42</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a9da23a71acfaf59ce6e61f31a4c02366"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a9da23a71acfaf59ce6e61f31a4c02366">SPH::BaseCellLinkedList::BaseCellLinkedList</a></div><div class="ttdeci">BaseCellLinkedList(RealBody &amp;real_body, SPHAdaptation &amp;sph_adaptation)</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:17</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_mesh_html"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh</a></div><div class="ttdoc">Multi-level Meshes with successively double the resolution. </div><div class="ttdef"><b>Definition:</b> base_mesh.h:166</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_a6e4e793993b786c6690aca92fc7e4a0e"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a6e4e793993b786c6690aca92fc7e4a0e">SPH::MultilevelCellLinkedList::insertACellLinkedParticleIndex</a></div><div class="ttdeci">void insertACellLinkedParticleIndex(size_t particle_index, const Vecd &amp;particle_position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:100</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_a4ae12fdc4b1eb3c0463beb5cf7ea0e66"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a4ae12fdc4b1eb3c0463beb5cf7ea0e66">SPH::MultilevelCellLinkedList::assignBaseParticles</a></div><div class="ttdeci">virtual void assignBaseParticles(BaseParticles *base_particles) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:113</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a4cdecca3c86f69df68ca92361edeff6c"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a4cdecca3c86f69df68ca92361edeff6c">SPH::BaseCellLinkedList::updateSplitCellLists</a></div><div class="ttdeci">virtual void updateSplitCellLists(SplitCellLists &amp;split_cell_lists)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_list_html_a38a611e5b4659ca49bd4842db65e3316"><div class="ttname"><a href="class_s_p_h_1_1_cell_list.html#a38a611e5b4659ca49bd4842db65e3316">SPH::CellList::cell_list_data_</a></div><div class="ttdeci">ListDataVector cell_list_data_</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:57</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_ad3b01a7d1a7fb851b5da1ac26b22d569"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#ad3b01a7d1a7fb851b5da1ac26b22d569">SPH::CellLinkedList::updateSplitCellLists</a></div><div class="ttdeci">virtual void updateSplitCellLists(SplitCellLists &amp;split_cell_lists) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:70</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html">SPH::MultilevelCellLinkedList</a></div><div class="ttdoc">Defining a multilevel level set for a complex region. </div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:164</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_affde5ddcde2392d482adcec4a1083d61"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#affde5ddcde2392d482adcec4a1083d61">SPH::MultilevelCellLinkedList::getMeshLevel</a></div><div class="ttdeci">size_t getMeshLevel(Real particle_cutoff_radius)</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:87</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a13ebb698e1529073b2fd591670774328"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a13ebb698e1529073b2fd591670774328">SPH::CellLinkedList::InsertACellLinkedListDataEntry</a></div><div class="ttdeci">void InsertACellLinkedListDataEntry(size_t particle_index, const Vecd &amp;particle_position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:99</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a4579542c6421d43c5f2e650b8ecb380b"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a4579542c6421d43c5f2e650b8ecb380b">SPH::CellLinkedList::deleteMeshDataMatrix</a></div><div class="ttdeci">void deleteMeshDataMatrix()</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:26</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_list_html_a399df456f271a30ca523db0a4f46e520"><div class="ttname"><a href="class_s_p_h_1_1_cell_list.html#a399df456f271a30ca523db0a4f46e520">SPH::CellList::real_particle_indexes_</a></div><div class="ttdeci">IndexVector real_particle_indexes_</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:59</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_bounding_box_html"><div class="ttname"><a href="class_s_p_h_1_1_base_bounding_box.html">SPH::BaseBoundingBox&lt; Vec2d &gt;</a></div></div>
<div class="ttc" id="class_vecd_html"><div class="ttname"><a href="class_vecd.html">Vecd</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_adc5ff13805c16036aad040dcaea038f3"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#adc5ff13805c16036aad040dcaea038f3">SPH::BaseCellLinkedList::InsertACellLinkedListDataEntry</a></div><div class="ttdeci">virtual void InsertACellLinkedListDataEntry(size_t particle_index, const Vecd &amp;particle_position)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_ad22f4ad6f37109b0f73203055fbc5f33"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#ad22f4ad6f37109b0f73203055fbc5f33">SPH::CellLinkedList::writeMeshFieldToPlt</a></div><div class="ttdeci">virtual void writeMeshFieldToPlt(std::ofstream &amp;output_file) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:222</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a92c10242be3bedec2d874b8e2a5b0bd2"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a92c10242be3bedec2d874b8e2a5b0bd2">SPH::CellLinkedList::assignBaseParticles</a></div><div class="ttdeci">virtual void assignBaseParticles(BaseParticles *base_particles) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:59</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_af567e400ee24f4adbd27da25a8127304"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#af567e400ee24f4adbd27da25a8127304">SPH::CellLinkedList::searchNeighborPartsByParticles</a></div><div class="ttdeci">void searchNeighborPartsByParticles(size_t total_real_particles, BaseParticles &amp;source_particles, ParticleConfiguration &amp;particle_configuration, GetParticleIndex &amp;get_particle_index, GetSearchDepth &amp;get_search_depth, GetNeighborRelation &amp;get_neighbor_relation, PartParticleCheck &amp;part_check)</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a02b6e2d128edb610d89fd7bdaf0007b2"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a02b6e2d128edb610d89fd7bdaf0007b2">SPH::CellLinkedList::findNearestListDataEntry</a></div><div class="ttdeci">virtual ListData findNearestListDataEntry(const Vecd &amp;position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:105</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_a7c42576ff9d88bfdae5e8f86bfac8842"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a7c42576ff9d88bfdae5e8f86bfac8842">SPH::MultilevelCellLinkedList::InsertACellLinkedListDataEntry</a></div><div class="ttdeci">void InsertACellLinkedListDataEntry(size_t particle_index, const Vecd &amp;particle_position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:107</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a9e7a648f9a67f9acf8cb40b0740c7e2d"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a9e7a648f9a67f9acf8cb40b0740c7e2d">SPH::BaseCellLinkedList::computingSequence</a></div><div class="ttdeci">virtual void computingSequence(StdLargeVec&lt; size_t &gt; &amp;sequence)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_a369d4d675c7aee6566b958bb514870e3"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#a369d4d675c7aee6566b958bb514870e3">SPH::BaseCellLinkedList::findNearestListDataEntry</a></div><div class="ttdeci">virtual ListData findNearestListDataEntry(const Vecd &amp;position)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_af305ed326d9e68b19e9f38adedad7094"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#af305ed326d9e68b19e9f38adedad7094">SPH::MultilevelCellLinkedList::UpdateCellLists</a></div><div class="ttdeci">virtual void UpdateCellLists() override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:122</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a40ab1cee7a4558613874398bf4b30874"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a40ab1cee7a4558613874398bf4b30874">SPH::CellLinkedList::insertACellLinkedParticleIndex</a></div><div class="ttdeci">void insertACellLinkedParticleIndex(size_t particle_index, const Vecd &amp;particle_position) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:93</div></div>
<div class="ttc" id="class_s_p_h_1_1_real_body_html"><div class="ttname"><a href="class_s_p_h_1_1_real_body.html">SPH::RealBody</a></div><div class="ttdoc">Derived body with inner particle configuration or inner interactions. After construction, the particle and material must be specified. </div><div class="ttdef"><b>Definition:</b> base_body.h:182</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_a5580fd69520b2f300596a5759c60144b"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#a5580fd69520b2f300596a5759c60144b">SPH::MultilevelCellLinkedList::tagBodyPartByCell</a></div><div class="ttdeci">virtual void tagBodyPartByCell(CellLists &amp;cell_lists, std::function&lt; bool(Vecd, Real)&gt; &amp;check_included) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.cpp:153</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_cell_linked_list_html_adf5a9595dd7b7102516332e864d786d5"><div class="ttname"><a href="class_s_p_h_1_1_base_cell_linked_list.html#adf5a9595dd7b7102516332e864d786d5">SPH::BaseCellLinkedList::tagBodyPartByCell</a></div><div class="ttdeci">virtual void tagBodyPartByCell(CellLists &amp;cell_lists, std::function&lt; bool(Vecd, Real)&gt; &amp;check_included)=0</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a1a025d4b1623453606d41532df0e4846"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a1a025d4b1623453606d41532df0e4846">SPH::CellLinkedList::allocateMeshDataMatrix</a></div><div class="ttdeci">void allocateMeshDataMatrix()</div><div class="ttdef"><b>Definition:</b> cell_linked_list_supplementary.cpp:21</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_aa48a033c00522643ad6cc3ec9f4ff0b8"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#aa48a033c00522643ad6cc3ec9f4ff0b8">SPH::MultilevelCellLinkedList::tagBodyDomainBoundingCells</a></div><div class="ttdeci">virtual void tagBodyDomainBoundingCells(StdVec&lt; CellLists &gt; &amp;cell_lists, BoundingBox &amp;body_domain_bounds, int axis) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:184</div></div>
<div class="ttc" id="class_s_p_h_1_1_cell_linked_list_html_a7e64816386ad8a4c72cf3cd3b8a9abec"><div class="ttname"><a href="class_s_p_h_1_1_cell_linked_list.html#a7e64816386ad8a4c72cf3cd3b8a9abec">SPH::CellLinkedList::searchNeighborsByParticles</a></div><div class="ttdeci">void searchNeighborsByParticles(size_t total_real_particles, BaseParticles &amp;source_particles, ParticleConfiguration &amp;particle_configuration, GetParticleIndex &amp;get_particle_index, GetSearchDepth &amp;get_search_depth, GetNeighborRelation &amp;get_neighbor_relation)</div><div class="ttdef"><b>Definition:</b> cell_linked_list.hpp:16</div></div>
<div class="ttc" id="namespace_s_p_h_html"><div class="ttname"><a href="namespace_s_p_h.html">SPH</a></div><div class="ttdef"><b>Definition:</b> solid_body_supplementary.cpp:9</div></div>
<div class="ttc" id="class_s_p_h_1_1_multilevel_cell_linked_list_html_ad76b70bbfd148cc07d0ad1e7aba7a0be"><div class="ttname"><a href="class_s_p_h_1_1_multilevel_cell_linked_list.html#ad76b70bbfd148cc07d0ad1e7aba7a0be">SPH::MultilevelCellLinkedList::computingSequence</a></div><div class="ttdeci">virtual void computingSequence(StdLargeVec&lt; size_t &gt; &amp;sequence) override</div><div class="ttdef"><b>Definition:</b> cell_linked_list.h:182</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
